package com.dl.study.fallback;

import com.dl.study.module.user.service.ProductService;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Author: user
 * @Date: 2021/8/30 18:49
 * @Description:
 */
@Component
@Slf4j
public class FeignServiceFallBack implements FallbackFactory<ProductService> {
    @Override
    public ProductService create(Throwable throwable) {
        return null;
    }
}
